import request from '@/utils/request'



// 设置点测温参数接口
export function setMeasurePoint(data) {
  return request({
    url: '/api/measure/measurePoint',
    method: 'post',
    data: data
  })
}

//设置线测温参数接口
export function setMeasureLine(data) {
  return request({
    url: '/api/measure/measureLine',
    method: 'post',
    data: data
  })
}

//区域测温参数配置接口
export function setMeasureRect(data) {
  return request({
    url: '/api/measure/measureRect',
    method: 'post',
    data: data
  })
}

//测温参数配置接口
export function setMeasureParam(data) {
  return request({
    url: '/api/measure/measureParam',
    method: 'post',
    data: data
  })
}

export function getMeasureParam(query) {
  return request({
    url: '/api/measure/measureParam',
    method: 'get',
  })
}

//设置测温档位
export function measureRange(data) {
  return request({
    url: '/api/measure/measureRange',
    method: 'post',
    data: data
  })
}

// 获取点集合接口
export function getMeasurePoint(query) {
  return request({
    url: '/api/measure/measurePoint',
    method: 'get',
  })
}

// 获取线集合接口
export function getMeasureLine(query) {
  return request({
    url: '/api/measure/measureLine',
    method: 'get',
  })
}

// 获取框集合接口
export function getMeasureRect(query) {
  return request({
    url: '/api/measure/measureRect',
    method: 'get',
  })
}
